/* 社区课程管理自定义样式 */

/* 日期选择器样式 */
.datepicker table tr td.available-date {
    background-color: #5cb85c !important;
    color: white !important;
    border-radius: 4px !important;
}

.datepicker table tr td.available-date:hover {
    background-color: #449d44 !important;
    color: white !important;
}

.datepicker table tr td.unavailable-date {
    background-color: #f0f0f0 !important;
    color: #999 !important;
    cursor: not-allowed !important;
}

.datepicker table tr td.unavailable-date:hover {
    background-color: #e0e0e0 !important;
    color: #999 !important;
}

/* 当前日期样式 */
.datepicker table tr td.today {
    background-color: #337ab7 !important;
    color: white !important;
    border-radius: 4px !important;
}

/* 选中日期样式 */
.datepicker table tr td.active {
    background-color: #286090 !important;
    color: white !important;
    border-radius: 4px !important;
}

/* 日期输入框样式 */
#c-course_date[readonly] {
    background-color: #fff !important;
    cursor: pointer !important;
}

/* 帮助文本样式 */
.help-block {
    margin-top: 5px;
    margin-bottom: 0;
    color: #737373;
    font-size: 12px;
}

/* 表单组样式优化 */
.form-group label {
    font-weight: normal;
    color: #333;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .datepicker {
        font-size: 12px;
    }
    
    .datepicker table tr td,
    .datepicker table tr th {
        padding: 4px 6px !important;
    }
}